home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
access
/
db2bas.zip
/
FTESTDIC.FRM
< prev
next >
Wrap
Text File
|
1994-10-04
|
5KB
|
169 lines
VERSION 2.00
Begin Form fTestDict
BackColor = &H00C0C0C0&
Caption = "MDB INI DB Maker"
ClientHeight = 2790
ClientLeft = 2130
ClientTop = 1965
ClientWidth = 4335
Height = 3195
Left = 2070
LinkTopic = "Form1"
ScaleHeight = 2790
ScaleWidth = 4335
Top = 1620
Width = 4455
Begin HScrollBar hsProgress
Enabled = 0 'False
Height = 255
Left = 180
TabIndex = 8
Top = 720
Visible = 0 'False
Width = 4035
End
Begin TextBox txtDBName
Height = 315
Left = 1140
TabIndex = 5
Tag = "ol"
Top = 1620
Width = 2415
End
Begin CommandButton bWo
Cancel = -1 'True
Caption = "&Wo"
Height = 375
Left = 2220
TabIndex = 7
Top = 2220
Width = 915
End
Begin CommandButton bGo
Caption = "&Go"
Default = -1 'True
Height = 375
Left = 1140
TabIndex = 6
Top = 2220
Width = 915
End
Begin CommandButton bPickIni
Caption = "&Pick"
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 8.25
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 315
Left = 3600
TabIndex = 3
Top = 1140
Width = 615
End
Begin CommonDialog cmdFile
CancelError = -1 'True
DefaultExt = "INI"
DialogTitle = "Select INI File"
Filter = "INI Files (*.INI)|*.INI"
FilterIndex = 1
Flags = 4096
Left = 3600
Top = 2100
End
Begin TextBox txtIniFile
Height = 315
Left = 1140
TabIndex = 2
Tag = "ol"
Text = "DB.INI"
Top = 1140
Width = 2415
End
Begin Label Label3
Alignment = 1 'Right Justify
BackStyle = 0 'Transparent
Caption = "&MDB Filename"
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 8.25
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 255
Left = 60
TabIndex = 4
Top = 1680
Width = 1035
End
Begin Label Label2
Alignment = 1 'Right Justify
BackStyle = 0 'Transparent
Caption = "&INI File"
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 8.25
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 255
Left = 540
TabIndex = 1
Top = 1200
Width = 555
End
Begin Label Label1
BorderStyle = 1 'Fixed Single
Caption = "Label1"
Height = 675
Left = 180
TabIndex = 0
Tag = "ol"
Top = 60
Width = 4035
End
End
Option Explicit
Sub bGo_Click ()
Dim ret As Integer
ret = dictCreate(txtIniFile.Text, txtDBName.Text)
End Sub
Sub bPickIni_Click ()
On Error GoTo CANCEL
cmdFile.Action = 1
txtIniFile = cmdFile.Filename
CANCEL:
Exit Sub
End Sub
Sub bWo_Click ()
If MsgBox("Are you sure you want to quit?", MB_YESNO, "MDB INI Maker") = IDYES Then
End
End If
End Sub
Sub Form_Load ()
Dim cLbl As String
cLbl = "This utility creates a Access database from an MDB->BAS INI File"
Label1.Caption = cLbl
End Sub
Sub Form_Paint ()
outlines Me
End Sub
Sub txtDBName_KeyPress (KeyAscii As Integer)
KeyAscii = Asc(UCase(Chr(KeyAscii)))
End Sub
Sub txtIniFile_KeyPress (KeyAscii As Integer)
KeyAscii = Asc(UCase(Chr(KeyAscii)))
End Sub